package cn.school.publicPhone.dao;

import cn.school.publicPhone.entity.PhoneFaceSync;
import cn.school.publicPhone.vo.PhoneFaceSyncVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FaceInfoDao extends BaseMapper<PhoneFaceSync> {
    /**
     * 获取学生同步信息
     * @param vo
     * @return
     */
    List<PhoneFaceSyncVO> getFaceSyncList(@Param("vo") PhoneFaceSyncVO vo);

    /**
     * 获取学生同步总数
     * @param vo
     * @return
     */
    int getFaceSyncCount(@Param("vo")PhoneFaceSyncVO vo);


    void insertAll(List<PhoneFaceSync> toInsert);
}
